﻿using System;
using LprMiddleWare.HangWang;

namespace LprMiddleWare.DAL
{
    public static class PunishReasonConverter
    {
        public static string Convert(CaptureReason reason)
        {
            switch (reason)
            {
                case CaptureReason.Normal:
                    break;
                case CaptureReason.OverSpeed:
                    break;
                case CaptureReason.WrongDirection:
                    return "1301";
                    break;
                default:
                    throw new ArgumentOutOfRangeException("reason");
            }

            return string.Empty;
        }
    }
}
